package com.kakavr.base.resource;

import java.util.Properties;

/**
 * 系统属性文件管理
 * 
 * @author gang.yang
 */
public class SystemResource {
	private static Properties resources = new Properties();

	public static String get(String key) {
		return (String) resources.get(key);
	}

	public static void put(String key, String value) {
		resources.put(key, value);
	}

	public static void putAll(Properties properties) {
		resources.putAll(properties);
	}

	public static void clear() {
		resources.clear();
	}
}
